-
Home
-
Discount Rules for WooCommerce
-
2.6.10
-
Code
-
Classes
- RuleForm
| Total Complexity |
41 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
214 |
| Lines of code |
144 |
| Logical lines of code |
70 |
| Comment lines |
49 |
| Methods |
15 |
| Properties |
1 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| setCumulativeOption() |
S |
56 |
7 |
18 |
| setFilter() |
S |
57 |
6 |
17 |
| setBuyXGetYRange() |
S |
55 |
5 |
18 |
| setConditions() |
S |
61 |
4 |
12 |
| setBuyXGetXRange() |
S |
59 |
3 |
14 |
| setBulkRange() |
S |
60 |
3 |
13 |
| setSetRange() |
S |
61 |
3 |
12 |
| setBuyXGetYOption() |
S |
70 |
2 |
6 |
| setCartAdjustment() |
S |
68 |
2 |
7 |
| getForm() |
S |
82 |
1 |
3 |
| __get() |
S |
80 |
1 |
3 |
| __set() |
S |
80 |
1 |
3 |
| reset() |
S |
81 |
1 |
3 |
| setProductAdjustment() |
S |
69 |
1 |
7 |
| setDiscountBadge() |
S |
67 |
1 |
8 |